package com.colin.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author colin
 * @create 2022-03-05 11:34
 */
@RestController
public class HelloController {

    @GetMapping("/hello")
    public String hello(){
        return "Hello Java DevOps !!!";
    }

    @GetMapping("/update")
    public String testUpdate(){
        return "update anything";
    }
}
